Fall back to the builtin icons for spinbutton +/-
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jan 2012 22:15:17 +0000 (17:15 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jan 2012 22:15:17 +0000 (17:15 -0500)
We do have list-add/-remove icons in the builtin icon theme,
so why not use them ?

gtk/gtkspinbutton.c

index f805ec274f2adc0e364953c4a4e01364f260cd74..b2af839d233961f513a265ff8d5443c5284373a3 100644 (file)
@@ -626,7 +626,8 @@ create_one_pixbuf (GtkStyleContext *context,
 
   icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
                                           icon_name, size,
-                                          GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+                                          GTK_ICON_LOOKUP_GENERIC_FALLBACK |
+                                          GTK_ICON_LOOKUP_USE_BUILTIN);
 
   if (icon_info != NULL)
     {